<?php
class User{
	private $username;
	private $password;
	private $rank;
    private $isOnline;
    private $profilePic;

	function __construct($username, $rank){
		$this->setUsername($username);
		$this->setRank($rank);
        $this->isOnline = 1;
        $this->profilePic = "images/Mage_portrait.jpg";
	}

	public function getUsername(){
		return $this->username;
	}

	public function getPassword(){
		return $this->password;
	}

	public function getRank(){
		return $this->rank;
	}

    public function getProfilePic(){
        return $this->profilePic;
    }

	public function setUsername($username){
		$this->username = $username;
	}

	public function setPassword($password){
		$this->password = $password;
	}

	public function setRank($rank){
		$this->rank = $rank;
	}

}
?>